package com.ktwlsoft.archivemanage.payload.mendList;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;

@Setter
@Getter
public class MendSubjectImgModifyRequest implements Serializable {

    /**主键**/
    @ApiModelProperty("主键")
    private Long id;

    /**业务外键**/
    @ApiModelProperty("业务外键")
    private Long businessId;

    /**业务类型
     * MendImg**/
    @ApiModelProperty("业务类型")
    @Size(max = 50, message = "业务类型参数超长")
    private String businessType = "MendImg";

    /**相对地址**/
    @ApiModelProperty("相对地址")
    @Size(max = 100, message = "相对地址参数超长")
    private String url;

    /**名称**/
    @ApiModelProperty("名称")
    @Size(max = 50, message = "名称参数超长")
    private String fileName;

    /**后缀**/
    @ApiModelProperty("后缀")
    @Size(max = 20, message = "后缀参数超长")
    private String suffix;

    /**大小**/
    @ApiModelProperty("大小")
    private Long size;

    /**创建人**/
    @ApiModelProperty("创建人")
    @Size(max = 30, message = "创建人参数超长")
    private String creator;

    /**创建人id**/
    @ApiModelProperty("创建人id")
    private Long creatorId;

    /**创建时间**/
    @ApiModelProperty("创建时间")
    private Date createdAt;

    /**更新时间**/
    @ApiModelProperty("更新时间")
    private Date updateAt;

    /**类型:1.新增,2.删除**/
    @ApiModelProperty("类型:1.新增,2.删除")
    private transient Integer type;
}
